-- GENERATED SPELL FOR [Crypt Slayer] --


function spell0_8558(pUnit, Event) --@Fatal Sting,n/a--
pUnit:FullCastSpellOnTarget(17170,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8558', 12000, 1)
end

function Sorts_8558(pUnit, Event)
local choix_sorts_8558 = math.random(0, 0)
if choix_sorts_8558 == 0 then
pUnit:RegisterEvent('spell0_8558', 1, 1)
end
end

function mob8558_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8558', math.random(1500, 3000), 1)
end

function mob8558_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8558_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8558_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8558, 1, 'mob8558_Action')
RegisterUnitEvent(8558, 2, 'mob8558_Leave')
RegisterUnitEvent(8558, 3, 'mob8558_Kill')
RegisterUnitEvent(8558, 4, 'mob8558_Die')
